package com.hs.srm.admin.modules.cutpay.entity;

import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import cn.afterturn.easypoi.excel.annotation.Excel;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hs.srm.base.common.annotation.DictMapping;
import com.hs.srm.base.common.utils.DictDataUtil.DictType;

/*
 * 扣款单行项目表
*/
@Setter
@Getter
@TableName("cutpay_item")
@ToString
public class CutpayItemEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	public CutpayItemEntity() {
		super();
	}

	/*
	 * PKID
	*/
	@TableId(value = "pk_id", type = IdType.UUID)
	@TableField("pk_id")
	@Excel(name = "PKID", orderNum = "1")
	private java.lang.String pkId;

	/*
	 * 扣款单号
	*/
	@TableField("co_no")
	@Excel(name = "扣款单号", orderNum = "2")
	private java.lang.String coNo;

	/*
	 * 扣款单行项目号
	*/
	@TableField("co_item_no")
	@Excel(name = "扣款单行项目号", orderNum = "3")
	private java.lang.String coItemNo;

	/*
	 * 采购订单号
	*/
	@TableField("po_no")
	@Excel(name = "采购订单号", orderNum = "4")
	private java.lang.String poNo;

	/*
	 * 采购订单行项目号
	*/
	@TableField("po_item_no")
	@Excel(name = "采购订单行项目号", orderNum = "5")
	private java.lang.String poItemNo;

	/*
	 * 物料编码
	*/
	@TableField("material_code")
	@Excel(name = "物料编码", orderNum = "6")
	private java.lang.String materialCode;

	/*
	 * 物料描述
	*/
	@TableField("material_desc")
	@Excel(name = "物料描述", orderNum = "7")
	private java.lang.String materialDesc;

	/*
	 * 扣款发票号
	*/
	@TableField("invoice_no")
	@Excel(name = "扣款发票号", orderNum = "8")
	private java.lang.String invoiceNo;

	/*
	 * 扣款金额
	*/
	@TableField("cut_money")
	@Excel(name = "扣款金额", orderNum = "9")
	private java.math.BigDecimal cutMoney;

	/*
	 * 发票金额
	*/
	@TableField("invoice_money")
	@Excel(name = "发票金额", orderNum = "10")
	private java.math.BigDecimal invoiceMoney;

	/*
	 * 应付金额
	*/
	@TableField("pay_money")
	@Excel(name = "应付金额", orderNum = "11")
	private java.math.BigDecimal payMoney;

	/*
	 * 货币单位
	*/
	@TableField("currency_unit")
	@Excel(name = "货币单位", orderNum = "12")
	@DictMapping(type=DictType.BZ)
	private java.lang.String currencyUnit;

	/*
	 * 发票日期
	*/
	@TableField("invoice_date")
	@Excel(name = "发票日期", orderNum = "13")
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private java.util.Date invoiceDate;

	/*
	 * 抱怨日期
	*/
	@TableField("complain_date")
	@Excel(name = "抱怨日期", orderNum = "14")
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private java.util.Date complainDate;

	/*
	 * 备注
	*/
	@TableField("remark")
	@Excel(name = "备注", orderNum = "15")
	private java.lang.String remark;

	/*
	 * 删除标志
	*/
	@TableField("delete_flag")
	@Excel(name = "删除标志", orderNum = "16")
	@DictMapping(type=DictType.SCZT)
	private java.lang.Integer deleteFlag;

	/*
	 * 创建人
	*/
	@TableField("created_by")
	@Excel(name = "创建人", orderNum = "17")
	private java.lang.String createdBy;

	/*
	 * 创建日期
	*/
	@TableField("creation_date")
	@Excel(name = "创建日期", orderNum = "18")
	@JsonFormat(pattern = "yyyy-MM-dd hh:ss:mm", timezone = "GMT+8")
	private java.util.Date creationDate;

	/*
	 * 修改人
	*/
	@TableField("last_updated_by")
	@Excel(name = "修改人", orderNum = "19")
	private java.lang.String lastUpdatedBy;

	/*
	 * 修改日期
	*/
	@TableField("last_update_date")
	@Excel(name = "修改日期", orderNum = "20")
	@JsonFormat(pattern = "yyyy-MM-dd hh:ss:mm", timezone = "GMT+8")
	private java.util.Date lastUpdateDate;

}
